package cn.stylefeng.guns.modular.basic.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.basic.entity.BasicLoadUnloadLabor;
import cn.stylefeng.guns.modular.basic.model.params.BasicLoadUnloadLaborParam;
import cn.stylefeng.guns.modular.basic.model.result.BasicLoadUnloadLaborResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 装卸工劳务公司 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2024-07-18
 */
public interface BasicLoadUnloadLaborService extends IService<BasicLoadUnloadLabor> {

    /**
     * 新增
     *
     * @author zhangzh
     * @Date 2024-07-18
     */
    void add(BasicLoadUnloadLaborParam param);

    /**
     * 删除
     *
     * @author zhangzh
     * @Date 2024-07-18
     */
    void delete(BasicLoadUnloadLaborParam param);

    /**
     * 更新
     *
     * @author zhangzh
     * @Date 2024-07-18
     */
    void update(BasicLoadUnloadLaborParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-07-18
     */
    BasicLoadUnloadLaborResult findBySpec(BasicLoadUnloadLaborParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2024-07-18
     */
    List<BasicLoadUnloadLaborResult> findListBySpec(BasicLoadUnloadLaborParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-07-18
     */
     LayuiPageInfo findPageBySpec(BasicLoadUnloadLaborParam param, String condition);


    int selectCountByCode(BasicLoadUnloadLaborParam paramCondition);

    int selectCountByPrefix(BasicLoadUnloadLaborParam paramCondition);

}
